<template>
<div>
  <el-switch
    v-model="value1"

    inactive-text="按年付费">
  </el-switch>

</div>
</template>

<script>
import productApi from "@/api/product/product";
export default {
  name: "switchcode",
  data() {
    return {
      value1: true,

    }

  },
  methods: {
  doChang(){
    productApi.upwhitchCode({})
    .then(res=>{
      console.log(res)
    })
  }
  }
}
</script>

<style lang="scss" scoped>

</style>
